package com.example.mapper;

import com.example.entity.Standard;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

@Mapper
public interface StandardMapper {

    @Insert("insert into ksd_standard(nickname,password,sex,birthday,age) value (#{nickname},#{password},#{sex},#{birthday},#{age})")
    @Options(useGeneratedKeys = true,keyColumn = "id",keyProperty = "id")
    void addStandard(Standard human);

}
